Skip to content

Migrate to gradle-maven-publish-plugin - #123

Merged
kcooney merged 5 commits into
mainfrom
kcooney/publish-to-maven
Feb 5, 2026
Merged

Migrate to gradle-maven-publish-plugin#123
kcooney merged 5 commits into
mainfrom
kcooney/publish-to-maven

Conversation

@kcooney

@kcooney kcooney commented Feb 1, 2026

Copy link
Copy Markdown
Contributor

Followed https://vanniktech.github.io/gradle-maven-publish-plugin/central/ changing the plugin version from 0.36.0 to 0.34.0 to we don't need to upgrade gradle.

Tested by running:

$ ./gradlew clean publishToMavenLocal
$ cd ~/.m2/repository
$ ls -1 com/team2813/lib2813/*/2.0.0-rc-2/

Output of ls:

com/team2813/lib2813/lib/2.0.0-rc-2/:
lib-2.0.0-rc-2-javadoc.jar
lib-2.0.0-rc-2-sources.jar
lib-2.0.0-rc-2.jar
lib-2.0.0-rc-2.module
lib-2.0.0-rc-2.pom

com/team2813/lib2813/limelight/2.0.0-rc-2/:
limelight-2.0.0-rc-2-javadoc.jar
limelight-2.0.0-rc-2-sources.jar
limelight-2.0.0-rc-2.jar
limelight-2.0.0-rc-2.module
limelight-2.0.0-rc-2.pom

com/team2813/lib2813/testing/2.0.0-rc-2/:
testing-2.0.0-rc-2-javadoc.jar
testing-2.0.0-rc-2-sources.jar
testing-2.0.0-rc-2.jar
testing-2.0.0-rc-2.module
testing-2.0.0-rc-2.pom

com/team2813/lib2813/vision/2.0.0-rc-2/:
vision-2.0.0-rc-2-javadoc.jar
vision-2.0.0-rc-2-sources.jar
vision-2.0.0-rc-2.jar
vision-2.0.0-rc-2.module
vision-2.0.0-rc-2.pom

@kcooney
kcooney force-pushed the kcooney/publish-to-maven branch 2 times, most recently from 3c5aa3c to 7854633 Compare February 1, 2026 02:55
@kcooney
kcooney force-pushed the kcooney/publish-to-maven branch from 7854633 to e2c9310 Compare February 1, 2026 03:02
@kcooney kcooney added this to the Version 2.0.0 Release milestone Feb 1, 2026

@cuttestkittensrule cuttestkittensrule left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, though the publishing plugin may be able to be moved into publishing-conventions.gradle in buildSrc, and we might want to keep the same group id.

Comment thread buildSrc/src/main/groovy/publishing-conventions.gradle Outdated
Comment thread lib/build.gradle Outdated
@kcooney
kcooney force-pushed the kcooney/publish-to-maven branch 3 times, most recently from d497de0 to 0f9a1a5 Compare February 1, 2026 23:03
kcooney and others added 2 commits February 1, 2026 15:08
Followed https://vanniktech.github.io/gradle-maven-publish-plugin/central/
changing the plugin version from 0.36.0 to 0.34.0 to we don't need to
upgrade gradle.

Tested by running:

```shell
$ ./gradlew clean publishToMavenLocal
$ cd ~/.m2/repository
$ ls -1 ls -1 com/team2813/*/2.0.0-rc-1/
```

Output of `ls`:

```shell
com/team2813/lib/2.0.0-rc-1/:
lib-2.0.0-rc-1-javadoc.jar
lib-2.0.0-rc-1-sources.jar
lib-2.0.0-rc-1.jar
lib-2.0.0-rc-1.module
lib-2.0.0-rc-1.pom

com/team2813/limelight/2.0.0-rc-1/:
limelight-2.0.0-rc-1-javadoc.jar
limelight-2.0.0-rc-1-sources.jar
limelight-2.0.0-rc-1.jar
limelight-2.0.0-rc-1.module
limelight-2.0.0-rc-1.pom

com/team2813/testing/2.0.0-rc-1/:
testing-2.0.0-rc-1-javadoc.jar
testing-2.0.0-rc-1-sources.jar
testing-2.0.0-rc-1.jar
testing-2.0.0-rc-1.module
testing-2.0.0-rc-1.pom

com/team2813/vision/2.0.0-rc-1/:
vision-2.0.0-rc-1-javadoc.jar
vision-2.0.0-rc-1-sources.jar
vision-2.0.0-rc-1.jar
vision-2.0.0-rc-1.module
vision-2.0.0-rc-1.pom
```
Co-authored-by: cuttestkittensrule <mangoiscute95@gmail.com>
@kcooney
kcooney force-pushed the kcooney/publish-to-maven branch from 0f9a1a5 to fa6129a Compare February 1, 2026 23:09
@kcooney
kcooney force-pushed the kcooney/publish-to-maven branch from fa6129a to f19c535 Compare February 1, 2026 23:24
@kcooney
kcooney force-pushed the kcooney/publish-to-maven branch from 6e82e4d to e9420c1 Compare February 1, 2026 23:41

@cuttestkittensrule cuttestkittensrule left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kcooney
kcooney merged commit 7f67387 into main Feb 5, 2026
1 check passed
@kcooney
kcooney deleted the kcooney/publish-to-maven branch February 5, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants